﻿using System;
using System.Runtime.Serialization;

using NXDO.Data;
using NXDO.Data.Attribute;

#region 代码说明
/*
 *******************************************************
 *       此段代码由 NXDO.Addin For VS2022 产生  
 *******************************************************
 * File Name:	DeptUser.cs
 * Date Time:	2025/10/23 8:30:31
 * OS User:		hippo
 * Anthor:	ITKing(ZhuQi) javasuki@hotmail.com
 * Blog:		http://blog.csdn.net/javasuki
 * Generator:	NXDO.Addin2022 For VisualStudio2022
 * Version:		4.0.60.0
 * -----------------------------------------------------
 */
#endregion


namespace TDM.DbData.DataEntity
{

	/// <summary>
	/// 
	/// </summary>
	[Table]
	public class DeptUser : Entity
	{
		[Title("DUID")]
      [DataMember]
		[Field(FieldFlag.IsKey | FieldFlag.IsAutoValue)]
		public virtual long DUID
		{
		    get;
		    set;
		}

		[Title("TreeID")]
      [DataMember]
		[Field]
		public virtual long TreeID
		{
		    get;
		    set;
		}

		[Title("UserID")]
      [DataMember]
		[Field]
		public virtual long UserID
		{
		    get;
		    set;
		}

		[Title("PositionID")]
      [DataMember]
		[Field]
		public virtual long? PositionID
		{
		    get;
		    set;
		}
	}
}
